#include <stdio.h>
/*
  Comments go here. Global variables go in front of the main method like Java.
*/

const int n=1000; //constants are not modifyable

void populateData(int* dataarray, int sz);
int sum, max, value, meanResult;

int main (int argc, char** argv) 
{
	int intarray[n];
	populateData(intarray, n);
	
	return 0;
}

//function to populate the array comes next
void populateData(int* dataarray, int sz) // * stands for a pointer
{
	for (int i = 0; i < sz; i++)
	{
		dataarray[i] = i;
	}
}
    

